<!DOCTYPE html>
<html>
<head>
    <title></title>
    <#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <#if shiro.hasPermission("capital:merchantapplycash:save")>
            <a class="btn btn-primary btn-sm" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
        </
        #if>
        <#if shiro.hasPermission("capital:merchantapplycash:update")>
        <a class="btn btn-primary btn-sm" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
    </
    #if>
    <#if shiro.hasPermission("capital:merchantapplycash:delete")>
    <a class="btn btn-primary btn-sm" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</
#if>
</div>
<table id="jqGrid"></table>
<div id="jqGridPager"></div>
</div>

<div v-show="!showList" class="panel panel-default">
    <div class="panel-heading">{{title}}</div>
    <form class="form-horizontal">
        <div class="form-group">
            <div class="col-sm-2 control-label">联动提现单号</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.payNo" placeholder="联动提现单号"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">商户id</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.merchantId" placeholder="商户id"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">商户类型 (0 小b 1工厂)</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.merchantType"
                       placeholder="商户类型 (0 小b  1工厂)"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">提现类型 normal 一般 ,allot 分配</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.applyType"
                       placeholder="提现类型 normal 一般 ,allot 分配"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">申请状态(0:待审核,1:审核通过打款中,2:已驳回,3:打款成功 4:打款失败)</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.applyStatus"
                       placeholder="申请状态(0:待审核,1:审核通过打款中,2:已驳回,3:打款成功 4:打款失败)"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">申请提现金额</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.applyMoney" placeholder="申请提现金额"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">申请提现汇费</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.applyFee" placeholder="申请提现汇费"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">预计到账日期</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.expectDate" placeholder="预计到账日期"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">实际到账时间</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.actualTime" placeholder="实际到账时间"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">申请人id</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.applyUserId" placeholder="申请人id"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">申请时间</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.applyTime" placeholder="申请时间"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">审核人id</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.auditorId" placeholder="审核人id"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">审核时间</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.auditTime" placeholder="审核时间"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">备注</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.remark" placeholder="备注"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">删除标记(0: 有效 1: 删除)</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="merchantApplyCash.delFlag"
                       placeholder="删除标记(0: 有效 1: 删除)"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label"></div>
            <input type="button" class="btn btn-primary btn-sm" @click="saveOrUpdate" value="确定"/>
            &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
        </div>
    </form>
</div>
</div>

<script src="${request.contextPath}/statics/js/modules/capital/merchantapplycash.js?_${.now?long}"></script>
</body>
</html>